package edu.uwm.capstone.diasmart.base;

import android.app.Activity;
import android.os.Bundle;


public class BaseActivityCommon {
	private static final String DEBUG = "Debug";
	// private static final String EXCEPTION_HANDLER_PAGE =
	// "http://www.gexperts.com/android/trace.php";
	private static final String TITLE = "OnTrack";

	public static void onCreate(Activity paramActivity, Bundle paramBundle) {
		// ExceptionHandler.register(paramActivity,
		// "http://www.gexperts.com/android/trace.php");
		String str = paramActivity.getTitle().toString();
		if (!str.startsWith("DiaSmart"))
			paramActivity.setTitle("DiaSmart - " + str);
	}

	public static void onStart(Activity paramActivity) {
//		FlurryAgent.onStartSession(paramActivity, "BXPM3JWXH8QYXQ6TM4SJ");
	}

	public static void onStop(Activity paramActivity) {
//		FlurryAgent.onEndSession(paramActivity);
	}

	public static String getDebug() {
		return DEBUG;
	}

	public static String getTitle() {
		return TITLE;
	}
}
